package com.groupbuying.settleconsumer.domain;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;


/**
 * 优店平台资金账户流水表
 * 
 * @author cuich
 * @email cuichanghao@linku.com.cn
 * @date 2019-06-06 07:53:41
 * @des
 */
public class SettleUshopFlowPlantformDO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * 平台流水ID
	 */
	private String id;

	/**
	 * 外键关联ID
	 */
	private String externalId;

	/**
	 * 流水类型:分账-SPLIT-0,退款-REFUND-1
	 */
	private String flowType;

	/**
	 * 平台流水金额
	 */
	private BigDecimal amount;

	/**
	 * 备注
	 */
	private String note;

	/**
	 * 删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	private String isDelete;

	/**
	 * 创建时间
	 */
	private Date gmtCreate;

	/**
	 * 更新时间
	 */
	private Date gmtModified;

	/**
	 * 设置：平台流水ID
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：平台流水ID
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：外键关联ID
	 */
	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}
	/**
	 * 获取：外键关联ID
	 */
	public String getExternalId() {
		return externalId;
	}
	/**
	 * 设置：流水类型:分账-SPLIT-0,退款-REFUND-1
	 */
	public void setFlowType(String flowType) {
		this.flowType = flowType;
	}
	/**
	 * 获取：流水类型:分账-SPLIT-0,退款-REFUND-1
	 */
	public String getFlowType() {
		return flowType;
	}
	/**
	 * 设置：平台流水金额
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	/**
	 * 获取：平台流水金额
	 */
	public BigDecimal getAmount() {
		return amount;
	}
	/**
	 * 设置：备注
	 */
	public void setNote(String note) {
		this.note = note;
	}
	/**
	 * 获取：备注
	 */
	public String getNote() {
		return note;
	}
	/**
	 * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	/**
	 * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public String getIsDelete() {
		return isDelete;
	}
	/**
	 * 设置：创建时间
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}
	/**
	 * 设置：更新时间
	 */
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getGmtModified() {
		return gmtModified;
	}

    @Override
    public String toString() {
        return "SettleUshopFlowPlantformDO{" +
									                    "id=" + id +
					                										",externalId=" + externalId +
					                										",flowType=" + flowType +
					                										",amount=" + amount +
					                										",note=" + note +
					                										",isDelete=" + isDelete +
					                										",gmtCreate=" + gmtCreate +
					                										",gmtModified=" + gmtModified +
					                				"}";
    }
}
